<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>用户登录</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->


	</head>

	<body>
	<s:property value="error"></s:property>
		<s:form action="login" theme="simple">

			<table border="1">
				<tr>
					<td align="right">
						用户账号:
					</td>
					<td>
						<s:textfield name="user.accountName" label="用户账号"></s:textfield>
					</td>

					<td>
						<s:fielderror cssStyle="color:red">
							<s:param>user.accountName</s:param>
						</s:fielderror>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<br></br>
					</td>
				</tr>
				<tr>
					<td align="right">
						用户密码:
					</td>
					<td>
						<s:password name="user.password" label="用户密码"></s:password>
					</td>

					<td>
						<s:fielderror cssStyle="color:red">
							<s:param>user.password</s:param>
						</s:fielderror>
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<br></br>
					</td>
				</tr>



				<tr>
					<td align="center">
						<s:submit label="submit" value="确定登陆"></s:submit>
					</td>

					<td align="center">
						<a href="register.jsp">新用户注册</a>
					</td>
				</tr>
			</table>

		</s:form>
	</body>
</html>
